/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: Jiang Jinxi
 * Date: 2024-05-18
 * Time: 15:01
 */
public class Test2 {
    public static void main(String[] args) {
        Queue queue = new Queue();
        for (int i = 1; i <= 10; i++) {
            queue.enqueue(i);
        }
        while(!queue.empty()){
            System.out.println(queue.dequeue());
        }
    }
}
